AsyncSubject.OnCompleted() method¶
Defined in
Type: AsyncSubjectSystem.Reactive.Subjects
Assembly: System.Reactive.dll
Applies to
netstandard2.0
Overloads¶
- 1.
public override void OnCompleted() - 2.
public void OnCompleted(Action continuation)
1. Overload¶
public override void OnCompleted()
Summary: Notifies all subscribed observers about the end of the sequence, also causing the last received value to be sent out (if any).
2. Overload¶
public void OnCompleted(Action continuation)
Summary: Specifies a callback action that will be invoked when the subject completes.
Parameters
| Name | Type | Description |
|---|---|---|
continuation | Action | Callback action that will be invoked when the subject completes. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | continuation is null. |